home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / Sound / SPlayer / Socks5 / src / lib / libproto.h < prev    next >
C/C++ Source or Header  |  1998-07-20  |  921b  |  23 lines

  1. /* Copyright (c) 1995,1996,1997 NEC Corporation.  All rights reserved.       */
  2. /*                                                                           */
  3. /* The redistribution, use and modification in source or binary forms of     */
  4. /* this software is subject to the conditions set forth in the copyright     */
  5. /* document ("Copyright") included with this distribution.                   */
  6.  
  7. /*
  8.  * $Id: libproto.h,v 1.10 1997/06/16 15:29:47 steve Exp $
  9.  */
  10.  
  11. #ifndef LIBPROTO_H
  12. #define LIBPROTO_H
  13.  
  14. /* Best case scenario, since we shouldn't be using ip options.               */
  15. #define UDP_MAX_PAYLOAD ((2<<16) - 18 - 8) 
  16.  
  17. lsSocksInfo *lsLibProtoExchg   P((S5IOHandle, const S5NetAddr *, u_char));
  18. int          lsLibSendRequest  P((lsSocksInfo *, const S5NetAddr *, u_char));
  19. int          lsLibReadResponse P((lsSocksInfo *));
  20. int          lsLibExchgUdpCmd  P((lsSocksInfo *, const S5NetAddr *, u_char));
  21.  
  22. #endif
  23.